package com.arpa.ntocc.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息通知
 * </p>
 *
 * @author wangkf
 * @since 2020-01-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_notice")
@ApiModel(value="Notice对象", description="消息通知")
public class Notice extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @TableField("code")
    private String code;

    @TableField("branch_code")
    private String branchCode;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "内容")
    @TableField("notice_content")
    private String noticeContent;

    @ApiModelProperty(value = "0短信，1推送")
    @TableField("notice_type")
    private Integer noticeType;

    @ApiModelProperty(value = "司机推送范围")
    @TableField("push_scope_driver")
    private String pushScopeDriver;

    @ApiModelProperty(value = "货主推送范围")
    @TableField("push_scope_shipper")
    private String pushScopeShipper;


}
